<?php
	$titleDownload = $_POST['titleDownload'];
	$description = $_POST['description'];
	$state = $_POST['state'];
	
	$query="INSERT INTO productdownloadcategories(titleDownload,description,state) VALUES ('$titleDownload','$description','$state')";
	mysql_query($query);
	echo "Thêm danh mục download thành công.";
	echo "<script>window.location='index.php?admin=downloadAdmin&do=listdownload'</script>";
?>	